﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Web;

namespace Assignment3
{
    public enum UserGender
    {
        Male,
        Female
    }
    public class UserData
    {
        public string Name { get; set; }
        public string Password { get; set; }
        public string Major { get; set; }
        public string Nacionality { get; set; }
        public DateTime BirthDate { get; set; }
        public UserGender Gender { get; set; }
        public Bitmap ProfilePhoto { get; set; }
        public bool Logged { get; private set; }

        public UserData()
        {
        }

        public void Login()
        {
            Logged = true;
        }

        public void Logout()
        {
            Logged = false;
        }
    }
}